package top.cwk.dubbo.entity.customer;

import java.io.Serializable;

public class Customer extends BaseBO implements Serializable{

	private static final long serialVersionUID = 1L;
	private Integer customerid;
	private String username;
	private String password;
	private String address;

	private String pageSize;
	
	public Integer getCustomerid() {
		return customerid;
	}
	public void setCustomerid(Integer customerid) {
		this.customerid = customerid;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}

	@Override
	public String getPageSize() {
		return pageSize;
	}

	@Override
	public void setPageSize(String pageSize) {
		System.out.println("Customer ---- pageSize:"+pageSize);
		super.setPageSize(pageSize);
		this.pageSize = pageSize;
	}

	public Customer(){}
	
	public Customer(Integer customerid, String username, String password,
			String address) {
		super();
		this.customerid = customerid;
		this.username = username;
		this.password = password;
		this.address = address;
	}

	public Customer(String username, String password, String address) {
		this.username = username;
		this.password = password;
		this.address = address;
	}

	@Override
	public String toString() {
		return "Customer{" +
				"customerid=" + customerid +
				", username='" + username + '\'' +
				", password='" + password + '\'' +
				", address='" + address + '\'' +
				", pageSize='" + pageSize + '\'' +
				'}'+super.toString();
	}
}
